tools/include/xen-foreign: Add SPDX identifier to generated headers
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 3 Nov 2022 11:52:01 +0000 (11:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Nov 2022 16:15:23 +0000 (16:15 +0000)
commitc62748312e0adec0cbcf0f8d7d126080e5e43a82
tree7ba0f76484b9d3850cb7e7322cc97b702e8a7193
parent224dab941629f9cfb793999bcece4c31776b7827
tools/include/xen-foreign: Add SPDX identifier to generated headers

The headers install in "/usr/include/xen/foreign/" are missing a
licence header. This patch adds a SPDX identifier to clarify that
the MIT licence is used.

The script now check that the licence of the input file is also MIT,
by checking for the presence of the SPDX identifier.

Also add information about which files are used to generate the
headers.

Reported-by: Andrew Cooper <Andrew.Cooper3@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/include/xen-foreign/mkheader.py